﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Example105.aspx.cs" Inherits="Chapter04.Example105" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>示例105: 使用 Response 对象设置页面缓存、查看文档创建日期，修复日期和文档大小</title>
    <link href="Content/bootstrap.min.css" rel="stylesheet" />
</head>
<body>
    <form runat="server">
        <asp:Label ID="expiresLabel" runat="server" />
        <script>
            // 已失效的属性
            document.write("<b>该文档创建日期:&nbsp;</b>" + document.fileCreatedDate + "<br/>");
            document.write("<b>该文档修改日期:&nbsp;</b>" + document.fileModifiedDate + "<br/>");
            document.write("<b>该文档修改时间:&nbsp;</b>" + document.lastModified + "<br/>");
            document.write("<b>该文档大小:&nbsp;</b>" + document.fileSize + "<br/>");
        </script>
    </form>
</body>
</html>
